#ifndef __PCA9685_H
#define __PCA9685_H	


#define pca_adrr 0x80

#define pca_mode1 0x00
#define pca_pre 0xFE

#define LED0_ON_L 0x6
#define LED0_ON_H 0x7
#define LED0_OFF_L 0x8
#define LED0_OFF_H 0x9



void PCA_MG9XX_Init(unsigned char angle);
void pca_setfreq();
void pca_setpwm(unsigned char num, unsigned int off);
void PCA_MG9XX(unsigned char num,unsigned char end_angle);

#endif
